package dk.flashnotes.fff.page {	import dk.flashnotes.fff.EPageXMLKeys;
	import dk.flashnotes.fff.page.part.PartData;
	import dk.flashnotes.fff.utils.XMLDataHolder;		
	/**	 * @author josef	 */	public class PageData extends XMLDataHolder {				private var _a_oPartDatas : Array;				public function PageData(xmlData : XML) {			super(xmlData);		}
		public function get_xmlPartDataFromAlias(sPartAlias : String) : XML {			for each (var xmlPart : XML in xmlData.parts.part) {				if(xmlPart.@part_template==sPartAlias) {					return xmlPart;				}			}			return null;		}						/*		 * 		 		public function get a_oPartDatas() : Array {			if (!_a_oPartDatas) {				_a_oPartDatas = new Array();				for each (var xmlPart : XML in _xmlData[EPageXMLKeys.PARTS][EPageXMLKeys.PART]) {					var oPD : PartData=new PartData(xmlPart);					_a_oPartDatas.push(oPD);				}			}			return _a_oPartDatas ;		}				 * 		 */			}}